// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import ElementUI from 'element-ui' // 导入elementui的包
import 'element-ui/lib/theme-chalk/index.css'
import app from './App.vue'
import VueRouter from 'vue-router'
import router from './router/router.js'
import VueResource from '_vue-resource@1.5.1@vue-resource'
import 'element-ui/lib/theme-chalk/display.css'// elementui中基于断点的隐藏类
import $ from 'jquery'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min.js'

Vue.use(ElementUI) // 引用elementui包
Vue.use(VueRouter)
Vue.use(VueResource)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: c => c(app),
  router
})
